package com.example.landrentpaymentbackend.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ImportResult {
    private int success = 0;
    private int fail = 0;
    private List<String> failDetails = new ArrayList<>();

    public void incrSuccess() { success++; }
    public void addFail(String detail) {
        fail++;
        failDetails.add(detail);
    }
}